var length : number = 10;
for(var i = 0;i < length; i++) {
    console.log(i)
}
